package com.ditian.ret.face;

import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.ditian.model.Rectangle;
import com.ditian.model.Faceset;
import com.ditian.ret.Common;

/**
 * 
 * Face GetDetail API
 * @author chenweiyi
 *
 */
public class GetDetailRet extends Common {
	
	/**
	 * face_token所属图片在系统中的标识
	 */
	@JSONField(name="image_id")
	private String imageId;
	
	/**
	 * 人脸标识face_token
	 */
	@JSONField(name="face_token")
	private String faceToken;
	
	/**
	 * 用户自定义的标签，如果未提供则为空。
	 */
	@JSONField(name="user_id")
	private String userId;
	
	/**
	 * 人脸矩形框，坐标数字为整数，代表像素点坐标
	 */
	@JSONField(name="face_rectangle")
	private Rectangle faceRectangle;
	
	@JSONField(name="facesets")
	private  List<Faceset> facesets;

	public String getImageId() {
		return imageId;
	}

	public void setImageId(String imageId) {
		this.imageId = imageId;
	}

	public String getFaceToken() {
		return faceToken;
	}

	public void setFaceToken(String faceToken) {
		this.faceToken = faceToken;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Rectangle getFaceRectangle() {
		return faceRectangle;
	}

	public void setFaceRectangle(Rectangle faceRectangle) {
		this.faceRectangle = faceRectangle;
	}

	public List<Faceset> getFacesets() {
		return facesets;
	}

	public void setFacesets(List<Faceset> facesets) {
		this.facesets = facesets;
	}

	@Override
	public String toString() {
		return "GetDetailRet [imageId=" + imageId + ", faceToken=" + faceToken
				+ ", userId=" + userId + ", faceRectangle=" + faceRectangle
				+ ", facesets=" + facesets + "]"+super.toString();
	}
	
	

}
